Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


PreviousPrevious NextNext

~Umberto Nongerotheroopsi 12.Jan.04 07:00 PM Lotus Notes
Domino Designer All Releases All Platforms

The relevant documentation seems to explain that when asynchronous agents are enabled global variables are not thread safe. Is this true? If I have two agents each of which declare a global object of the same name and they run simultaneously am I risking any interference? What about if it is multiple instances of the same agent? At what point do I have to worry about stomping on another agent's globals?

      LotusScript is thread safe; multiple LotusScript Web agents can run concurrently within the Domino server.

      A thread is an instance of LotusScript, in this case an agent. All threads execute in the same memory space. LotusScript threads have no protection against updates on global variables or contention on the various internal data structures. By running multiple agents, you synchronize instances of LotusScript running against each other.

      LotusScript agents run as separate threads in the same HTTP process. A process is a collection of one or more threads executing a single application.

LotusScript agent thread safety (~Yentl Cisreson... 12.Jan.04)
. . Don't worry! (~Bill Quetfooch... 12.Jan.04)

  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS